I'm following this IBM cloud doc to generate a IAM token to work with the specific account to which i have access with account id doc
415 unsupported media type : cloud API's
965 Views Asked by New123 At
1
There are 1 best solutions below
Related Questions in POSTMAN
- Laravel X-CSRF-Token mismatch with POSTMAN
- How to pass manytomany PKs to post or put
- I am trying to save latitude and longitude to mongoose model but I am unable to store them
- PUT/PATCH request with postman returns status code 0 in Laravel
- CURL to POSTMAN
- Posting data to a cell using Google Sheets API
- How create a custom response when spring-security receives null credentials (username and password)?
- Unable to post information to asp.net MVC controller using postman
- Send code via post message is not working
- Sending cookies with postman
- Testing multiple JSON lines response
- How to see a returned html rendered as a webpage with postman
- Difference in time calculated and time displayed in postman
- Is there a way to access the iteration number in Postman REST Client?
- Posting request to node.js service results in timeout
Related Questions in IBM-CLOUD
- difference between IoT Foundation and Node-RED?
- Single Sign On service hangs when configuring it
- Error when adding a new build stage on Bluemix DevOps Services
- How to logout from Bluemix Single Sign On service?
- How to add users to Cloud Directory via API?
- node.js processing a form with Node.js Cloudant DB Web Starter
- How to gain authorization to perform requested action, specifically create an instance of a service in Bluemix?
- Insights for Twitter service in IBM Bluemix: Search case-sensitive string and other questions
- What file formats are supported by Watson Speech to Text in Bluemix
- Service broker error when adding Single Sign On service
- Example of using dashdb out node in Node-RED
- The links in the Bluemix confirmation email do not work
- Does Bluemix include a JBoss runtime?
- How to write query to my Cloudant database?
- Bluemix Single Sign On service: Node.js code for getting the currently logged in userid?
Related Questions in HTTP-STATUS-CODE-415
- statusCode should be 200, but is 415
- RestTemplate - 415 UNSUPPORTED_MEDIA_TYPE Error
- HttpMediaTypeNotSupportedException: Content-Type 'application/octet-stream' is not supported when running a SpringBoot REST app from AWS Lambda
- Confluence REST API content-type issue for attachment with python
- Unexpected HTTP 415 when sending JSON
- 415 Unsupported Media Type Fetch POST request
- HTTP POST request works with Postman but not with my web application's JavaScript fetch
- Updating a webpage using python requests returning error response code 415
- HTTP Status 415 – Unsupported Media Type error in Spring MVC with angular js
- Angular 6 - file upload unsupported media type 415
- 415 Unsupported Media
- Image File Upload 415 Unsupported Media Type Java Httpclient 4.4
- 415 Unsupported Media Exception even after setting application/soap+xml for SOAP 1.2 call
- x-www-form-url-encoded POST Request not accepted
- 415 status code. Fetch() post with formData and Int params
Related Questions in IBM-IAM
- COS access policies interface vs terraform
- IBM generate bearer token from Watson Assistant
- Watson Assistant NodeRed Node doesnt accept the new IAM security credentials
- Access to Kubernetes in IBM Cloud
- How authorize IBM Cloud Watson service using IAM authorization
- IBM Cloud Object Storage with VPC cluster
- JT400 unable to connect from IBMi machine but working from Windows machine
- How to develop sso with Java and IBM Cloud IAM
- Is it possible somehow to update/change the Default resource group using ibmcloud cli?
- Are IBM Watson IAM tokens good for all services or specific to each service, e.g., Speech-to-Text?
- IBM IAM IamAuthenticator getToken is not a function
- IAM authentication with SoftLayer API
- How can I use IBM IAM to access my Cloudant instance?
- Post request returning 403 when trying to call IBM AppID management API /users
- Watson speech to text authentication
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?


The API for generating an IAM token is documented here in the IAM Identity Services API. You are using different (and unsupported) header and body parameters. This could cause the error.
The header should only be
'Content-Type: application/x-www-form-urlencoded'. The body should include the grant type and the API key.