DEV Community

Discussion on: Build a Custom Client Portal on Airtable Using Sequin with React

Collapse
 
gizmotronn profile image
Liam Arbuckle-Hradecky • Edited

Hey @thisisgoldman , great tutorial! However, I'm having a bit of a problem with the react project. After signing in with my email, I'm presented with this error:

1 of 1 unhandled error

Unhandled Runtime Error
SyntaxError: The string did not match the expected pattern.
Call Stack
json

[native code]
promiseReactionJob

[native code]

On the command line end, it sends:

Error: connect ECONNREFUSED 127.0.0.1:5432
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1133:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 5432
}
Enter fullscreen mode Exit fullscreen mode

I am sure that my .env.local files are correct.

-L

Collapse
 
acco profile image
Anthony Accomazzo

Hey @gizmotronn -- that looks like a Postgres error, trying to connect to a local database as opposed to a Sync Inc-hosted one. Did you point PG_CONNECTION_STRING to a Sync Inc database?