Current behavior
Using prisma v1.8.3. After changing the name of a relation inside datamodel.graphql, prisma deploy signs off on changes, but then keeps Applying changes (12/9) until such time that the token expires.
Here鈥檚 the complete error message:
ERROR: Authentication token is invalid: Token can't be decoded: The token is expired since 2018-05-29T15:39:59Z
{
"data": null,
"errors": [
{
"locations": [
{
"line": 2,
"column": 11
}
],
"path": [
"migrationStatus"
],
"code": 3015,
"message": "Authentication token is invalid: Token can't be decoded: The token is expired since 2018-05-29T15:39:59Z",
"requestId": "__PATH__:management:__PROJECT_ID__"
}
],
"status": 200
}
Reproduction
For example, take the following datamodel:
type AffiliateCampaign @model {
requirements: AffiliateRequirement @relation(name: "RequirementsForEachCampaign")
}
type AffiliateRequirement @model {
campaign: AffiliateCampaign @relation(name: "RequirementsForEachCampaign")
}
If you change the name RequirementsForEachCampaign, this happens.
Wonder if it鈥檚 related to this closed issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Definitely needs to be kept open, you silly bot 馃榾 Still throwing same error.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Have the same issue. Any updates?
Thanks for reporting the issue and your thorough description! 馃檹 This has been fixed in 1.18.1.