Organization not found for user's role - Postman

I’m currently working on an iOS app for my prototype. Before I write any code in Xcode I prefer to make all my requests in Postman. I read the documentation and cant seem to find what I am doing wrong.

I set up a two-legged authentication ClientID and Secret. I want my server to do the customer registration so I can white-label Particle. When I try to create a shadow customer the response I get is…

{
    "ok": false,
    "error": "Organization not found for user's role."
}

I am making a POST to https://api.particle.io/v1/products/xxxx/customers where xxxx is my productID.
I added my ClientId and Secret to the Username and Password of the Basic Auth.
The body contains three things “productIdOrSlug” “email” and “no_password”

Can anyone point me in the right direction?

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

This will probably be helpful. It shows the full set of steps you need to do to manually claim a product Photon so you can better understand how the various tokens are used.

1 Like