#[SOLVED] Getting consistent server 500 errors
10 messages · Page 1 of 1 (latest)
Really hard to say without additional context like the API call, project id, code, etc.
It crashes at rethrow randomly when I make a change that requires updating something in the database.
client_io.dart
try {
final response = await send(
method,
path: path,
headers: headers,
params: params,
responseType: responseType,
cacheModel: cacheModel,
cacheKey: cacheKey,
cacheResponseIdKey: cacheResponseIdKey,
cacheResponseContainerKey: cacheResponseContainerKey,
);
if (getOfflinePersistency()) {
cacheResponse(
cacheModel: cacheModel,
cacheKey: cacheKey,
cacheResponseIdKey: cacheResponseIdKey,
request: request,
response: response,
);
}
return response;
} on AppwriteException catch (e) {
if ((e.message != "Network is unreachable" &&
!(e.message?.contains("Failed host lookup") ?? false)) ||
!getOfflinePersistency()) {
rethrow;
}
isOnline.value = false;
} catch (e) {
throw AppwriteException(e.toString());
}
This is consistent with cloud.appwrite.io also giving 500 Server Error issue when I get this error in the app. So it's probably an issue on appwrite cloud. But it happens a lot.
It's happening right now too. Getting 500 error in app whenever I'm trying to fetch initial data & the cloud is also giving this error.
Is there a quick fix? Should I create a new project?
Probably not. What's your project id?
@dreamy niche it's 6526250564a8784279bf
@vocal crow is it solved now? Or are you still facing the error?
We had some service degradation on Cloud - #🌩│cloud message
It's solved
Getting consistent server 500 errors [SOLVED]