unknown error when adding photos
1

On many apps, an error pops up when you want to add to your board or add to a group board a photo with text using “https://graph.facebook.com/v20.0/me/photos”

{
    "error": {
        "message": "An unknown error has occurred.",
        "type": "OAuthException",
        "code": 1,
        "fbtrace_id": "XXXXXXXXXXXXXXXXXXX"
    }
}

when adding the text itself via me/feed and not me/photos, the error does not occur. The curl address of my request is

curl --location 'https://graph.facebook.com/v20.0/me/photos' \
--form 'access_token="GRAPH TOKEN"' \
--form 'message="Hello, world!"' \
--form 'source=@"/C:/Users/Komputer/Downloads/photo.jpg"'

When using the SDK library in python the error is the same i.e. An unknown error has occurred.

i would ask for a quick solution to the problem. Thank you

Przemuś
Asked about 5 months ago
Selected Answer
1

:)

June 8 at 11:00 AM
Przemuś