How to check product API endpoint is correct for a customer?

Hi,

I already setup my product on Particle console website and create a simple oauth for a mobile app. My android app when creating an account give a

<— HTTP 404 https://api.particle.io/v1/products/xxxx/customers

How do I verify my product API endpoint is working and I have setup everything correctly? It also give
Error calling API: Organization not found for user’s role, not really sure why it think its an organization role since product mode is activated. Just for my sanity, any help will be grateful.

Thanks

Let me ping someone that might be able to help, @rickkas7 are you able to assist?

The error message “API: Organization not found for user’s role” is also used when you’re using a non-product bearer token with a product API. It doesn’t really mean an organization problem; it’s a generic authentication failure.

To test manually hitting the customer endpoint, follow the instructions here.

You need to create product bearer token using your client ID and client secret. Then you can hit the customers API.

2 Likes