Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Broken MediaUrl when Uploading Media image #24

Open
adelineDF opened this issue Jul 23, 2020 · 1 comment
Open

[Android] Broken MediaUrl when Uploading Media image #24

adelineDF opened this issue Jul 23, 2020 · 1 comment
Assignees
Labels
bug Something isn't working media Everything related to media ongoing This is being looked into

Comments

@adelineDF
Copy link

When calling the Update Media API for Android, this the response I get:
[
{
"ID":"180c2292-1ae1-451f-9a47-2ed314dce784",
"MediaUrl":"https://platformxchain.arcadier.io71cc010c-a99e-48eb-bda6-08e2b954b093-x7ijbipv2c71cc010c-a99e-48eb-bda6-08e2b954b093-6f82cdd7-3095-4f"
}
]

Whereas for iOS, it is like this:
[
{
"ID":"018aa90a-a2f2-4025-b7dc-9eb16f9fd7bd",
"MediaUrl":"https://platformxchain.arcadier.iof24bd302-a081-4316-92b2-d99549a81b9a-jr8jo0a1xkprofile.png"
}
]

The MediaUrl is lacking .png/.jpg for Android only. However, it is also a successful response. This causes the MediaUrl to be invalid when updating to user's profile.

Sample Request URLs both platform are using:
Android:
https://platformxchain.arcadier.io/api/v2/users/71cc010c-a99e-48eb-bda6-08e2b954b093/media?purpose=users

iOS:
https://platformxchain.arcadier.io/api/v2/users/f24bd302-a081-4316-92b2-d99549a81b9a/media?purpose=users

Is there a reason why the .png/.jpg is missing for Android only? I have been using OkHttp to post the requests and it did not have this issue a few months back.

@rachaelchin rachaelchin added help wanted Extra attention is needed ongoing This is being looked into media Everything related to media bug Something isn't working and removed help wanted Extra attention is needed labels Nov 20, 2020
@rachaelchin rachaelchin self-assigned this Nov 20, 2020
@rachaelchin
Copy link

Hi @adelineDF ,

We have identified that it is an issue related to Android only. We have logged it as a bug and you should be able to see the fix in the next release. For release dates, you can subscribe to our newsletter alerts or check on our product updates

Regards,
Rachael from the product marketing team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working media Everything related to media ongoing This is being looked into
Projects
None yet
Development

No branches or pull requests

2 participants