INVALID_TYPE error when running papi-client channel get
-
Hey everybody –
I’m trying to follow the steps in the Apple News API Client Utility README.md file and hitting a wall.
I’ve successfully installed the Ruby CLI and created the .papi configuration file.
I’ve placed this file in the home folder on my local machine (when I run a open ~/.papi in terminal the file launches without issue). However, when I proceed to the next step of running papi-client channel get, I get the following response:
400 Bad Request: INVALID_TYPE
Message:
Key path:
Article ID: <CHANNEL ID APPEARS HERE BACK HERE>My .papi file looks like this (with my values swapped for the placeholders):
#<SiteName>
endpoint: https://news-api.apple.com
channel_id: <channel_id>
key: <key>
secret: <secret>Not seeing a lot of (recent) documentation around this error so I’m just not sure where to proceed from here. Any insight would be extremely helpful.
- The topic ‘INVALID_TYPE error when running papi-client channel get’ is closed to new replies.