Not authorized File Message

so, is still don’t figure out the reason why that file is encrypted ?, about the type above?

Files are encrypted when encryption is enabled on the application. If this is something you don’t want, you can open a case with the Support team via the dashboard and we can disable it.

1 Like

yes i do, could you help me? or if i don’t want to disable but still view ? is there anyway to solve?

It’s not clear what you mean. Do you want to file encryption?

If so, we can work to understand your implementation.
If not, you’ll need to go to the Sendbird Dashboard and open a case with out Support Team via the Contact Us option to have that disabled on your application (Note: This does NOT decrypt messages sent prior to it being disabled).

1 Like

i mean i still want to keep file encryption also view the file encryption. Is there any way to view it?

There is. You’ll need to access the message via a query in an SDK. The encrypted URL can not be obtained via the Platform API. For example, in my example I obtained the list of messages via the JavaScript SDK utilizing this query:

channel.createPreviousMessageListQuery()
listQuery.limit = 15;
const messages = await listQuery.load();
1 Like

i did try it, but i will try again and give you the information. btw, i just send mess to your support team about temporarily disable encrypt file.

@Tyler ,

Can you share me your request code, do not only share me the response, it’s so hard to trace my mistake.
Could you share me any update/config at Dashboard page or new param to pass to sendFileMessage to get the url in the success response?
Or any special config to turn-off encrypt file? And how to do that?

Thanks for your ASAP response!

Hi @sonkim,

You can see my complete query request here:

channel.createPreviousMessageListQuery()
listQuery.limit = 15;
const messages = await listQuery.load();

Please note that you’ll only get the URL in the response when making the request from the SDK. You can not obtain it from the Platform API.

There are no special parameters needed to receive the URL. You can see how we’ve implemented it in the sample App here:

hey tyler, i called support for disabled encrypt for my chat but day by day, don’t get any response

Hi @thi_ledinh,

Let me take a look at this. I believe there was some confusion based on the comments in this post and the ticket that contradicted each other. To verify, you want to disable encryption on the application?

yes, i’m in urgent situation

It looks like your case was responded to on May 11th. Allow me to see if I can move forward with it.

How can I refererence it ?

I’ve responded to your case, please reference it.

1 Like

Hi Tyler, it seems like work now

Thank you so much. What a nice day

Hi Tyler,

So my team has been running into issues related to the viewing of file links. We use both the Platform API and the SDK but only experience issues with the Platform API. I was reading this forum and believe this could be this issue.

The file urls seem to need an auth parameter attached but we are not provided with one via the Platform API. If needed, we would like to disable the encryption on the file level.

Please let me know what we can do to get this working as we are building out a custom inbox using the Platform API and this is the only blocker.

Hi @Cameron_Kruse,

Are you able to submit a ticket to Support? That is the ideal place to request that be disabled.

Hi @Tyler,

Thanks, got a response on my support ticket. It is being resolved