admin管理员组

文章数量:1401832

Replit Agent is struggling to create a simple Python app which pulls the data from my Apple AppStoreConnect account through the Apple API. After two rounds of edits by the Replit Agent it still shows the same Error message (below). Does anyone have ideas how to fix this? I tried twice to update the Apple API credentials in Replit so pretty sure that they are correct.

2025-03-23 16:59:57,141 - appstore_api - INFO - Formatted key with proper PEM headers
2025-03-23 16:59:57,143 - appstore_api - ERROR - First JWT encoding attempt failed: ('Could not deserialize key data. The data may be in an incorrect format, the provided password may be incorrect, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>])
2025-03-23 16:59:57,143 - appstore_api - ERROR - Alternative JWT encoding failed: ('Could not deserialize key data. The data may be in an incorrect format, the provided password may be incorrect, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>])
2025-03-23 16:59:57,143 - appstore_api - ERROR - Error generating JWT token: ('Could not deserialize key data. The data may be in an incorrect format, the provided password may be incorrect, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>])
Error details: ('Could not deserialize key data. The data may be in an incorrect format, the provided password may be incorrect, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>])
Error: Failed to generate authentication token
2025-03-23 16:59:57,143 - __main__ - ERROR - Invalid credentials: Failed to generate authentication token

Launched the app and was expected to the data from the AppstoreConnect analytics

本文标签: app store connect apiAppstoreconnect API access issue on ReplitStack Overflow