Graph API To Update User Photo Throws error

%3CLINGO-SUB%20id%3D%22lingo-sub-1955834%22%20slang%3D%22en-US%22%3EGraph%20API%20To%20Update%20User%20Photo%20Throws%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1955834%22%20slang%3D%22en-US%22%3E%3CP%3EUsing%20Graph%20API%2C%20I%20am%20updating%20user%20photo%20in%20Delve.%20It%20is%20working%20fine%20for%20some%20times%20.%3C%2FP%3E%3CP%3EBut%20randomly%20it%20get%20failed%20for%20same%20photo%20and%20give%20status%20as%20Faulted.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20giving%20error%20like%20below%3A%3C%2FP%3E%3CP%3EMessage%3A%20The%20maximum%20request%20length%20supported%20is%204MB.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20size%20limitation%20do%20we%20have%20to%20upload%20the%20photo%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20alternative%20for%20the%20same%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20pointers%20would%20be%20appreciated.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1955834%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20Graph%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Using Graph API, I am updating user photo in Delve. It is working fine for some times .

But randomly it get failed for same photo and give status as Faulted.

 

It is giving error like below:

Message: The maximum request length supported is 4MB.

 

What size limitation do we have to upload the photo?

 

Is there any alternative for the same?

 

Any pointers would be appreciated.

0 Replies