When a try to publish my tease (https://milovana.com/webteases/showtease.php?id=59393) I got this error : "Response not successful: Received status code 400".
Going to the debugguer I can see that it comes from GraphQL
The JSON API response is :
Code: Select all
{
"errors": [
{
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"publishTease"
]
}
]
}
EDIT: I tried firefox and Chrome web browsers. I tried to empty the cache and force reloading.
EDIT 2: today the debug say to look at the Apollo error which is:
Error message
Cache data may be lost when replacing the thumbnail field of a EosTease object.
This could cause additional (usually avoidable) network requests to fetch data that were otherwise cached.
To address this problem (which is not a bug in Apollo Client), either ensure all objects of type MediaHash have an ID or a custom merge function, or define a custom merge function for the EosTease.thumbnail field, so InMemoryCache can safely merge these objects:
existing: {
"__typename": "MediaHash",
"hash": "b8a7f5dd29aec58479cb72095cdedb554390ea11"
}
incoming: {
"__ref": "MediaHash:2046782"
}
For more information about these options, please refer to the documentation:
* Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers
* Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects
File
@apollo/client/cache/inmemory/writeToStore.js