customerio / customerio-reactnative

MIT License
23 stars 11 forks source link

Tried to get queue task with storage id but storage couldn't find it. - error log spam #231

Open dannyhw opened 6 months ago

dannyhw commented 6 months ago

SDK version: 3.3.2

Environment: Development

Are logs available?

Thats the problem

Describe the bug Our logs get spammed with these messages constantly and I would love to know how to avoid that.

(siteid:15522) 🛑 Tried to get queue task with storage id: CEB8BCAE-918F-4CDB-AAB9-A99A92945C68, but storage couldn't find
it.

Error fetching messages from Gist queue service. The operation couldn’t be completed. (CioMessagingInApp.GistNetworkError
error 0.)

To Reproduce When I run the app this just immediately starts spamming the logs

Expected behavior The logs only contain useful information

Additional context We use this alongside customerio-expo-plugin 1.0.0-beta.13

ami-aman commented 6 months ago

Hi @dannyhw

Thank you for reporting the issue with the recurring log message in the console. We understand this can be confusing and apologize for any inconvenience it has caused.

I would like to let you know that we are aware of this issue. While we can't guarantee a specific timeline at this moment, we are committed to resolving it as soon as possible.

In the meantime, feel free to reach out to our support team if you have any further questions or require assistance.

dannyhw commented 6 months ago

@ami-aman thanks for the update, appreciate the info 🙏

arndtvoges commented 3 months ago

@ami-aman Any updates here? It's been three months. The spam makes it impossible to develop with CustomerIO enabled. The code in question can be found in QueueRunRequest.swift. SDK 3.5.2.

dannyhw commented 3 months ago

I've personally turned off all cio logging now because of this.

arndtvoges commented 3 months ago

I've personally turned off all cio logging now because of this.

Thanks @dannyhw! That worked for me as well as a temporary workaround:

const data = new CustomerioConfig();
data.logLevel = CioLogLevel.none;