Hello,
I'm truing to use Maps Server API. I have:
Created Maps Identifier and a Private Key
Used token maker to create a JWT token. I also tried creating JWT token manually.
After generating a JWT token I used Maps Server API Playground with my JWT and I can successfully use Maps Server API.
The problem is that when I try to use my JWT in either JS code, Postman or curl request, I get "Invalid Token" error. Which is very strange, because I doubled checked everything dozen of times and JWT works in Apple's playground tool.
Here's a request example:
curl -si -H"Authorization: Bearer <jwt token>" "https://maps-api.apple.com/v1/geocode?q=Apple%20Park%2C%20Cupertino%2C%20CA"
My token is valid for 1 year
When generating JWT token I left "Domain restriction" field empty.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I published a new iOS app recently and now I want to publish macOS app. The app is built in SwiftUI and macOS target is enabled using Mac Catalyst.
While costomizing my macOS app page in App Store Connect I can edit most of the fields except unchecking "Sign-In Required" checkbox and entering contact details. If I uncheck "Sign-In Required" checkbox and press Save I get this generic error: "An error has occurred. Try again later.".
Inspecting Console I can get this information:
{ appName: "appstore", payload: (1) […], eventKit: "logger", env: "PROD" }
appName: "appstore"
env: "PROD"
eventKit: "logger"
payload: Array [ {…} ]
0: Object { logLevel: "ERROR", message: "API Response Error: SAVE_APP_REVIEW_DETAILS_RESPONSE", url: "https://appstoreconnect.apple.com/apps/6739671911/distribution/macos/version/inflight", … }
componentStack: undefined
errorCode: undefined
logLevel: "ERROR"
message: "API Response Error: SAVE_APP_REVIEW_DETAILS_RESPONSE"
stackTrace: "status code: 409 --- api correlation key: "
url:"https://appstoreconnect.apple.com/apps/6739671911/distribution/macos/version/inflight"
I contacted Apple support but they weren't quite useful and told me to ask people on forums... I don't believe this will help as clearly something is wrong with App Store Connect and the state of my account needs to be fixed on their end.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
App Submission