Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAT not working #395

Open
ozayr opened this issue Jan 17, 2024 · 1 comment
Open

PAT not working #395

ozayr opened this issue Jan 17, 2024 · 1 comment

Comments

@ozayr
Copy link

ozayr commented Jan 17, 2024

Tried both CURL and Node POST request to create a record using the new PAT, getting

{"error":{"type":"AUTHENTICATION_REQUIRED","message":"Authentication required"}}

Headers are correct, PAT is correct, correct permissions are given, json payload is correctly formatted.

I cannot create an apiKey to test as it redirects me to PAT

@codytodonnell
Copy link

I was encountering the same error until I realized I had only added the scope data.records:write and not data.records:read as well. After I added the read scope too, I was able to complete requests successfully by passing my PAT to the apiKey option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants