GET for V3 API works but POST throws Forbidden error 403,"errorMessagecreate"

GET for V3 API works but POST throws Forbidden error 403,"errorMessagecreate"

book

Article ID: KB0074697

calendar_today

Updated On:

Products Versions
TIBCO Cloud API Management -

Description

Able to access V3 API and get services (GET) but throws error":403,"errorMessagecreate" when trying to create a service (POST)
 
GET for V3 API works but POST throws error like below

curl -k 'https://api.mashery.com/v3/rest/services' -H "Authorization: Bearer "XXXXXXX"" -H "Content-Type:application/json" --request POST --data '{"id":"17xxxxxx","created":"2020-05-07T13:36:19.000+0000","name":"01_test_API","updated":"2020-05-07T13:36:19.000+0000","version":"1.0"}'

{"errorCode":403,"errorMessage":"Forbidden"}

Issue/Introduction

This article talks about why GET for V3 API works but POST throws Forbidden error and how to resolve it

Resolution

You need to have full access to your user as "area administrator" to get V3 API POST calls work. Organisation Administrator role currently doesnt have this access . To get complete access to V3 API, you need to be an area administrator. Please contact your control center administrator to get the required access.