Reapit Foundations
View on GitHub
  • Home
  • APIs
    • REST API
    • Webhooks
    • GraphQL
    • Reapit Connect
    • Desktop API
    • Notifications
  • Developer Portal
  • Listing your App
    • App Permissions
    • App Listing Review
  • App Development
    • Developer Guidelines
    • Usage Guidelines
    • Elements
    • Vite Template
    • Create React App Template
    • Connect Session
    • Foundations TS Defintions
    • Login With Reapit
    • Contributing
    • Website Development
    • IaaS (Coming Soon)
      • 🖥️Developer Portal (Beta)
      • 💻CLI (Beta)
  • What’s New
  • Platform Glossary
    • Permissions
  • Developer Terms and Conditions
  • Troubleshooting
    • Accessing Customer Data
    • Authentication Issues
    • Reapit Connect
    • REST API
  • Development Requests
  • FAQ's
    • Reapit Connect Emails
  • Help
  • Reapit Connect Updates
Powered by GitBook
On this page
  • Client Credentials Flow - Authentication Issues
  • Error: "invalid_client"
  • Error: "invalid_request"
  • Example POST Request (only applies to client_credentials flow)
  1. Troubleshooting

Authentication Issues

PreviousAccessing Customer DataNextReapit Connect

Last updated 8 months ago

Client Credentials Flow - Authentication Issues

Error: "invalid_client"

  • Check you have provided the correct ‘Client ID’ in your request payload using the header ‘client_id’. Your Client ID is available on your app listing in the

  • It’s possible that the ‘Authorization’ base64 secret you have provided maybe invalid.

  • Ensure you have provided the encoded version as the value for the Authorization header set to ‘Basic’ (Basic XBASE64SECRETX)

For more information on Authentication (using the Client Credentials Flow), please click

Screenshot showing how to find your ‘Client ID’ and ‘Secret’ on your App listing:

Error: "invalid_request"

  • Check you have provided the following values and headings: grant_type=client_credentials client_id=XCLIENTIDX Authorization: Basic XBASE64SECRETX content-type: application/x-www-form-urlencoded

Example POST Request (only applies to client_credentials flow)

You can use the example POST request to obtain an access token, simply replace XCLIENTIDX with your client ID and XBASE64SECRETX with your encoded Client ID and Secret:

curl --request POST \
  --url 'https://connect.reapit.cloud/token?grant_type=client_credentials&client_id=XCLIENTIDX' \
  --header 'Authorization: Basic XBASE64SECRETX' \
  --header 'content-type: application/x-www-form-urlencoded' \

Developer Portal
here