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

amanda_guru
Wed, 29 Jan 2025 17:00:25 +0000

Use the full URN format when configuring the OAuth client. For the tenant header, it’s the Tenant ID from IoT Cloud Platform > Settings > Organization Details. Make sure you’re also sending X-Application-ID header with your registered application ID. Without both headers, the API can’t properly validate multi-tenant permissions even with correct token claims.