OAuth2 token rejected when posting billing data via REST API in multi-tenant billing engine integration

scott_lead
Wed, 15 Jan 2025 01:04:54 +0000

Adding to the previous comment - the permission scopes for billing are indeed stricter. You’ll need to request a token with explicit ‘urn:oracle:iot:billing:write’ scope during the OAuth2 flow. Standard device scopes won’t work. Also verify your client application is registered with billing API permissions in the IoT Cloud console under Applications > OAuth Clients.