Authentication error when using properties API.

I’m getting the following error:

This API can't be called using an OAuth access token. A valid developer API key must be provided in the hapikeyquery parameter, and a validappId must be provided in the API request.

When using Properties API

/crm/v3/properties/{objectType}/batch/read

The api docs doesn’t seem to mention that any additional authentication should be passed along with oAuth.

Hi @bardeen,

Please pass actual private app’s key or access token in the place of YOUR_ACCSESS_TOKEN to the following statement:

"authorization: bearaer YOUR_ACCSESS_TOKEN"

Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member.
Thanks!

Thanks for the reply!
I’m actually using Public App with oAuth authentication, according to the docs it should be possible to use this API with oAuth authentication, am I missing something here?

Hi @bardeen

Can you please share the screenshot of the query you are facing so that i can help you with the exact solution.

Thanks!

Hi @GRajput
I’m trying to use the following query with oAuth authentication. My app has all required scopes, but still it doesn’t allow me.

Hi @bardeen

Firstly test your code in the doc and check the response and share with us here (Screenshot).

Thanks!