Re: Uploading Pictures via API getting inadequate_permissions #api


Eric di Domenico
 

If this is any help, here is the Raw request generated by PAW. I am uploading to an album created by the same user.
POST /api/v1/addphotos HTTP/1.1
Content-Type: multipart/form-data; charset=utf-8; boundary=__X_PAW_BOUNDARY__
Cookie: groupsio=XXX
Host: groups.io
Connection: close
User-Agent: Paw/3.1.9 (Macintosh; OS X/10.15.1) GCDHTTPRequest
Content-Length: 11157

--__X_PAW_BOUNDARY__
Content-Disposition: form-data; name="csrf"

1691885163244178649
--__X_PAW_BOUNDARY__
Content-Disposition: form-data; name="album_id"

212217
--__X_PAW_BOUNDARY__
Content-Disposition: form-data; name="fileupload"; filename="image.jpeg"
Content-Type: image/jpeg

ÿØÿàJFIFHHÿáîExifMM*bj(1r2„‡i˜HHPixelmator 3.8.82019:11:10 21:11:050221‘ 0100 ô w¤ÿá	öhttp://ns.adobe.com/xap/1.0/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ÿâ4ICC_PROFILE$applmntrRGB XYZ á
 acspAPPLAPPLöÖÓ-applÊ•‚%M8™ÕÑê‚
descüecprtd#wtptˆrXYZœgXYZ°bXYZÄrTRCØ chadø,bTRCØ gTRCØ descDisplay P3textCopyright Apple Inc., 2017XYZ óQÌXYZ ƒß=¿ÿÿÿ»XYZ J¿±7
¹XYZ (8ȹparaffò§
YÐ
[sf32BÞÿÿó&“ýÿÿû¢ÿÿý£ÜÀnÿÀwô"ÿÄ	
ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ	
ÿĵw!1AQaq"2B‘¡±Á	#3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚâãäåæçèéêòóôõö÷øùúÿÛC00D000D\DDDD\t\\\\\tŒttttttŒŒŒŒŒŒŒŒ¨¨¨¨¨¨ÄÄÄÄÄÜÜÜÜÜÜÜÜÜÜÿÛC"$$848`44`最œææææææææææææææææææææææææææææææææææææææææææææææææææÿÝ ÿÚ?Ï¢—VæbQKE1´PQKE%´PE-”RÑ@	E-QKE%´´ÚZZ(”RÑ@	KKE%´PQN¢€ŠZ((¥¢€ŠZZ@6––ŠJ)h ¢—Ph§bŠmêJ`%%:Šmê(´RÒÐh§Q@
¢E6Šu€mêJJ)h ¢–ŠÿУEµ¹”RÑLŠZ((¥¢€––ŠJ)h ¢E6––ŠJ)h ŠZ((¥¥ bQKF((¥Å.(´´¸¥Å7bŠ(¸¥Å--7bE Š\RÑ@	Š1N¢Åê(¸¢EF)Ôb€ŠLS±E7˜§â“Àm§QŠ7bŠ1@Æъu âŒS¨¤qE:Šm§bŒPqE;˜ ÑNÅ ÿÑ¥KIŠZÜÌ)h¥¦!(¥¥ ÒÒÑ@	E-”´´PQKK@
¥¥Å”RÒâ€E:ŠJ)ih(¥¢‰E:ŠJ)h ¥¥£€J)Ø£Ú\Râ—ÜQŠv(ÅŠ\RÒÐqF)ÔPqF)ÔPqIŠ~( C1E;b€E;b˜
¢Š1@
¢Š1@
¢ŠJJ)qF)”RâŒPh§bŒPh§bŠm¥¢€?ÿÒ«Š1N£¹Ú)Ø¥Å6–ŒR ZZ`%´´ÚZZ((§Q@	E-”S±F(´´¸£”S±F((Å.)hÜR▖€Š1N¢	Š)iq@	F)iq@Æъv)q@
ŧbŒPqKŠ\R 1NŤqF)Ø£ÌQŠ~)1LâŒS±I@†âŠv(Å7S©1@	F)h ÑN¢€F)ÔPhÅ:Šn(§Q@
Å´PqF)ÔPÿӆŠZ+ ÈJZZ)”bŠ1@
ŧâŒP(§â“”´˜£4´¸¤È§S1F)ih(¥¢€S¨ ¢–ŒPQN¢‰E-- ŠZ\PiiqF(1KŠZZ&(Å-- Š1NÅ â—´b€bŠ1@ÆâŒS¨ âŒS©(ÜRbŸI@
Å&)ô”Ä7S¨ ÑN¤ ÑNÅ ÑNÅ ÑNÅ ÑN¤ ¤§Q@
¢–ŒPÿԎŠu¹”´RÐE-QŠZZn(Å;¸ b¢ŸŠ1@l¤*{TØ£ï.æî*lRbŒ
>šSҀ RÓF{Óè1F)Ôb€Š1OÅ âŠv(Å%´´”Rъ@%--(¥¥Å%¸£€J)qKŠ6Šv( ÑNÅ ÑNÅ QNÅ%1
¢Š1@†ÒS¨Å6Šv(Å6Šu ÑNÅ ÑN¤ ÑN¢€Š1N¤ âŒS¨ÅÿÕg¸›qKZÜÌ^)hŠw(§b—JZ\Q@(Å--&(Å:–Å§b—ÌRb¤Å¢àGŠ1RbŒQp#ŧâŒPqF)Ø¥Å7bŠ1@
ŧâŒP1F)ø£Ú1NŠŧbŒP11KKŠ\R1F)Ø¥Å+Œf(Å?b‹€ÌQŠ~(Ř£üQŠf(Å?b‹)1Rb“f(Å?b˜âŒSñIŠn(Å;b‹€ÜQŠv)qEÀf(Å;b€Š1NÅ âŒS±F(”S±F(´S±F(ÿÖ0ivšŸh§m«$®ŠwÍSâŒP<Ó±RbŒS¸†bŒSñKŠwÌQŠ~(Ř¥§b—\ÒÒâšN –š§=iüP1)qF”àQq‰Š6Ònö4ìš.Š1NÏ­7z÷4\VQŠ\Š2	Š\S‡4¸¢à3bŸŠ1EÆ3b¤Å&(¸Xf)qNÅ.(¸Å.)Ø£®bŠ1NÅ+Œn(Å?˜¥pŠ1Oŧq‘âŒT˜£®1F)ø£\ñIŠ“bÄGŠ1Rb“\ñF)ø£\Dx¥Å?b‹…†bŒSñIŠ.1IŠ“˜¢à3bŸŠ1NàGŠ1RbŒR¸Xb¤Å¢áb<QŠ“b‹ŽÇÿ×¹Š1NÅ.)ÜVŠ\S±KŠ.Š\S±F(¸Xn(Å?¸¢áb=´b¤Å.(¸X‹b¥Å&Ú." Ñ´—b‹…ˆJzT,²Ž•sb‹…ŠäsLi¤
im­FУv¢ác8M)=EKæIíSýéQ4h8¢áa|Æ4ìúÓ…àÒîÑqؓ9íMÁëH)Û¸¢áa†G¢àŽ1šíÜ{Ô"93À§p±¤²n*LÖxYG^)áœw¥p±{"—Š¬²˜=+…‡œ

&ïj7ûQqØv)qQî4àÄö¥påŠ\P3ޝŠ.bŠ\R¸ŧbŒQpŠ1NÅ¢à7bŠ1EÀf(Å?˜§pŠn)ôb‹ˆf(Å?b‹€ÌQŠv(Ř£üRb‹€ÌQŠ~(Ř£üQŠ.Š1N¢‹€ÜQKIEÀJ)h¢àÿÐÑ¢¡ó¡ü©ÂU÷üHÉiqQïZx`zQp°¸¥¤È¥È¥p°RÑE…¥¦ÒÑp°´´Ú3EÂèÅ&hÍ+……Å£4f‹…ƒb—4QqØnÑHcCÔSè¢áb/"?JoÙÓµX¢‹Uâ
2£5Áê¤Uê1G0BGޝˆÅY£•À¬¢8ÿ%*m£µ.(¸È|•£Ê=\D>X¥òÅKKEÀˆF´»EIE˜¥Å?b‹€ÜR▖‹ˆn(Å;b•Àn(Å;b‹€ÃÅ7pïÅKŠ1EÇ¡E->’‹€ÌR`ԔQqâŒSè¢ãŠLSèÅ>aXf)1O¤£˜vŠLS裘,3S¨¢áa”S±F(¸¬2ŒS±E†ÑKEÿÑAz¿Ý?;í©ýÓX¾rûÑ秽>T.fm‹ØÿºiÂö/CX~r{ÒùÉG*36þÝ¡¥ût^†±<Ôõ¥ó֎D.fmýºzp½ƒÔþU‡½}E.à{ÑȇÌÍÁy÷¿JwÚà?ÇXy¤Þ½È¥ìÐs›ÿj‡û⏴ÃýáXbúŠvð}){4>s{íxQöˆÏÖïaFáéG³sÏOÈӄÈ{þ|W=»#Š˜Þ§ó¥ìÇÎt!ÁèsKº¹Ï1»ùÓ¼é?¼3KÙ±ó£¢ÝFã\÷Ÿ'÷çJ.&ìçó¥ìØùÑÐî£p¬sqýóJ.n?½ü¨öl9Ñ¿º“±¬/´Üÿ{ùS…ÕÐõü©{6ÈÛó`¬q{69þ¿mcÕVŽF>h›`§ošæ‘S£?Ï¡¨zn;\»‘Kš§±{3ƜösúWRÞhȪ„Ê;çðÿëÓÏèÔbå/æ—5•æÜçýXǵ;̟ÙúÑf4óKYž|ê‘ùTmy:ŒáqõÿëÓ³‰¯KX?ÚOž@ü
YŽöG裏~hqhV¾Æµœ.ä捿SÅꍭùRÔ9Kԕ\\ÆFNGáM7–àáŸߊWb±jŠ„M«øÓ>Ñ÷Çæ)\v,QU
Ä$ðëùÑç!à7åL|¥ª3U<ÜiÂ_\Ñqò2Æi3Pù¢”=R\Òf£ßIæâ•Ã”–Š}¨¸ì>Šuè¸X’ŠƒÎŒzS"Ž¤
abZ*-âÈ=h¸ìKEQ{ëdêãð愽·“…q“Û¥=D]¢«ˆÁ`֓í0ÿ}1H,ÿÒÇû#}Z_±¿÷–­ˆÀ§mKìoýå£ìRy:½´zS‚J.3þÅ'÷—ó¥û¿Þ_δ6¯¥.Õô¢ác;ì2ú¯çGØfõ_δ¶¯¥;ýÚ.0:qVRÎi:ãÞ´¼˜IÉAS*¢€àQp±•ýŸqþÏçGö}Ï üë_åô£+ýÚWŒìûŸAùÑýŸuè?:ÙvÃҎ`±ýŸuýÑùŠO°]ÿwõ·¸zSƒ/¥.`±…ö¿îþ¢°Þwõ¾zS·J9‡Êsßa»î¿¨¤ûß÷?Q]&áFáKœ|§7ö+±ü'ó}Žïû‡ó®—p¥Ü(çC˜û%×÷çGÙnÇD?tù£4s‡!̋kÁÑX~4{ÃÕXþ5Óf—4s‡)ˋk±ÑZœ ½ë§´¹Ã”å~Ïy×kÒù7˜Æ×ýk«¢Žqòœ™†óº¿ëIåݏáÖºê(ç)ÈþF·}0ÿ­uÜRñG8rœqŠàõW?¦ù3q¿#]¥->på8¯&_î7äi|¹¿ºß‘®Ò–—8rœVÉ¿ºß‘¦ì“û§ò®ãð£J9Ôᶸìinà×uéIéG8rœ7ÍïIÍwX_JnÔôs‡)ÂG"—sg95ÛmAü"“dÝ•>qrœ_˜ùݸç×4¾l„ä±ÏÖ»-‘ÿt~Tlû£ò£›È-æq›ßÔþt¾l§øÏç]‰HU¦˜¡?À¿£›È,r"iGÛó¤óeÎwNµÖùq!HmíÏð/åG2ìg(³J£
ì>†—ÏŸûíùšêEµ·÷ò¦›KSÿ,֎eØ,Î_Η9ÞÙ>æƒ$Áb~¦ºo±ZÏ1A³´?òÍió.ÁfrÜѓ]?Øm¸?Z>ÅkŸ¸(æB±ÌäúšLšê>Åiÿ<Å!²µÿžbŽd§/EtcmÙæh6ÝÐ~fŸ2ÝÑý†ÛûŸ©£ì6ÿÜýMÈ,ÿÓfÊvʛ RÊvʗ´€‡e.ʛ¸ d;)vT¸¥âl¥ÙR▀!ÙFʟb‘l£eJ;ì¥	R◊ˆ-;h§ÒÒÚ]´ú8¤;ÛF)ÜQ@\n(Å8šN(‰Š1N͐\LS±@4´áŠZ)iÄ¢—4¼P+Å-/´Ú)ÔPi–Š(¥âŠJ)h ¤Å:’€ŠLSè¢àGŠ0iôS¸àѶŸEÛI¶ŸIEØXnÚM´ú(»ÛI¶ŸEadG¶´úJwbÐnÑI´Sé(»›i6Óé)ÜV¶´ê(¸ÿԚ–£È£u\Òæ¢É¥É¥`¹.hÍGš7{Ñ`¹&isQî÷¥Ü(°\’—5E’æ—5ê7}(°îKš\Ô[4¬%ͨw{Òo½“î¤Ýõ¨<Áê:MޔX.XÝìi7úñõª¥ýqI»=üÍË^`õyž¤UmçE4¹¢Árѐv"€ãÖªùŒŠÇ·ó£”.[óޗxì
R-î3Jõ¥Ê.‡¥ßëUváþsG(îZ
î)wUPã֝ºŽP¹g}¾•O§éK“þE+É÷Rî_qõ§n÷¢Ár|њ‡#֗>ôX.Mš\Ô9¥Í+ÉsFEEš3E‚ä»…¨·Q“E‚乤ÍG“FM’æ“5hÈ¢ÁrLŠ7T[…¨°\“4™¦n4dÑ`¸üњfi(°\~hÍ34f‹ÇfŒÓsFh°\uÜњ,IMÍ¢Áqh¤Í&h°\Z)3Fh°\ÿÕ2}M¨r´¿/§ëT"\Š]ËQdz
]Ãڀ$Ü=)w{
qìiw5LŸJ2j,¿­ïQadџz‡'»?,&Éõý)7{š‹ô¼zÑ`¸ýÃÔѕõ4̏ZL¯½\¯©¤Ü;
f妓éE†H\öÍ0—=Í÷¦–>ÔXËã­œw¦Œ{S¹4¬,G­3¿4êJ,¥.}I¤ÅX.ŽÄþt˜ŒÀR…õX.8))ùÇZ¸§d
,º¤Ô;Å/˜(°îKšQPg÷¨°\›'ޝŸ­WÏûTàO÷…+ÉÁúÓ³õ¨?púÑ`&Ýõ£}G‘ëúÒäö"•†?½½é¹j>j,·
\Šv:ÒnZ,¹´™Íñý(ÝE€’Š‹4™ö¢Â¹6E&~µG¥¢Ár]Çޗ5hÿ=h°\—w½&}é™úѻދýÔdÓ7ZLûÑ`$͵}é3E€—"ŒŠ‹q¥É¢ÁrLš2j>h¢Áqù£4Ìњ,óFi™¥ÍÿÖ©Å/ÉQdѓWbI²žô»“Þ¢Í/á@oOz7/¥34nÄ?p¥ÝLÈ£pô ïj]ÍLÝíK¸ú
vM.M3-FZ€– óLËQ– äŽÔn¨÷µÍ!â—zŒ9¥Þޔ Å.j-Çғ>‹.i3QäÒäÓ°ÝíFïjMôy‚¸Råi¾`¥Þ´¹_Jp+éMÞ´›Çc@äQ¸
‡½ýè°yƒÒ1}*2—Ì”X	w§¥.õô¨·J7JV6áK¼zT;‡¥.å÷ 	7¯¥—Ò™¹}M–€”÷£÷Þ4ܯµ_Zc³S²}ECòw4b?Z@M¹ýE›Ö¡Âö4~T.O©¥ÍCš?`M»Ú“uC‘I¼zQ`&Üi2*-þÔn4XD»….ïz‹qîhÈõ¢Ã$Ýõ£4ÍŒûÐóíK“ëQäûQ–ô.OµÔ_P(ù}(°à{QÇ¥E”ô4e=H¢ÀK¸Š7š‹pìÔ¹Ïz,›šŒµGƒF
+ÿ×Ï£4ÚZЁ۩w
gP÷-.åô4Ê3@Ü=(Ü})›©sõ e½(ËRf—4e½hÜE._Z<ÃKæ{RezMÉë@ó=…/˜=*=ëFáí@o†ãÐÔ{—ڍޘ 	w{RïµAÉ¥ÅKæûQæJ‡Š(mëéI¹*0hl­&G†ô£ҀŠ\S)r}(ؼS9£ÔП/ ¥Èô¨¶ûš6Ð2]Õ>”´€“4¼T9£qõ 	¸õ£Z‹szŠ2ÞÔ›Š0*š?›F=
EFh\>j‹qõ£qõ 	>ojOš›“Fâ(ýÏK½ª=ç֏0ЛÛҍþÔÏ2ôý⌭7rÒåhß-{Sr´|žôÿʓŸZåõ¤ãր$É£4Ìûњ`?&ŒÓ2hÍI‘G¢Í 	qF*,њ@ÿÐËɥɦњЁôb›š3@À£›š\а(ü)¹4dÐóG>´›&M;>ô™÷¤Í.E÷dÒgéFhrhÍ&is@ÒÑ@	Íî(È üiÙ>´™¤É î>´o>µÍGÍ@n¤ÝLç֊~ïz7Zg¹]ƍÍIš3@ËQ“MÍüѸzÓphÁ¤÷ûÒùžõ(Á 	7ý)3ì)˜>”sé@Çþ¸¨ù¥É âŒ{Ó3Fã@QøÔ{¥¥øÒSwJ3Lf—4Ú?
ãG”™&ö¨÷Rn D¸££Í.hþhÉõ¦dR怓K“MÈ£Š~Oµ4ÌR`МѓQr)rhù£4ÌûRçڀ?ÿÑÇ旚J+B£"’ŒÐäQº“"Ž(sFi8£"€—ñ¤Í&hÜzÑÅ74¼PñIÅ£fŒš\Q@	–£-KšLÐüÔ¼ÓsIš}Îh恒nn&E¨èÍIEGš^hø£ÊZv)pi´fæŽi2(È ȥȦäRf€$Í.ê‹&Ô.áFáQîZ2´}¦no~(ç֙ºŒÐù£&™“FM04gړu Í.i¹ö£u:Šnê]€Fi»….á@š3I‘F/>´Ÿ5´¿'4àM'q@ÜiwT4&ê7Tx4`ÐÿÒÅÝFãIÍՒ.M4fŒÐKIšJ`:Šm¼QÅ%´´Ú(ԙ¤¢€š3M¢€š8¦æ—4ê1MÍ-.(¤¢€ŒÒ`ÑÍ.h¤¢€Š)9¢€Fi(¤æŒÒdÒf€GÜÒ怊LÑÅ.O­ÒRÐQK‘FE¹™ZO–€Å܊2(y£&“"—"€
Ô¹¦äQLfŒšm/4¹4RdњZ\Óh怸Q¹i´dPò=h晑K¸P°hæ“p£p É£uQŠ]Ôn¤Å ÿÓÄɤæ“&Œš²EæŠNh ¢’–€
(¢€
(¢€Šm´bŠ(Å´S¤¢Š@QE¥Í%ìѺ›E?uÊ(ùdS3E;4f›E;4f’’€E6Š}¦Q@¢›š3@£4ÜњwqMÍ.E/qI‘KÅQÅQ@qIŠ(h¤£´RQ@š2i( fŠm-0ŠJZ(£˜4ìёL撀%ÝFê‹4f€?ÿÔÁ£4”U’;4f›E;4RfŒÐÑIE.hÍ%ìÑM¥Í-™£4ê)¹¤Í:Šm-QEQEQI@KM¢€E6–€
3E¹£4”PEPEPEPE£QF)h(¥¢€ŒÒÒPæŒÒQ@Kšm æ—5hÍIÅis@¢›š3@¢›š3@ͦæŒÐ³E%¼QÅ%%ÿÕÀ¢Š*É
(¢€
(¤ ¢’ŠZZm´RQ@E%´QE-”P³E6ŠuÚ(Ù¢›E-”´”QE-”PÑIE-”PÑIKHaKIE0ŒÒfŠ\ÑE(ÍPš)( ¤¢Š(¢Š(¢–€ŠZJ(¢ŠZ)´P¨¤¢€Fi( Í¤¢€?ÿÖç袊¢BŠJ(h¤¥ Š)i€”QEQEQEQE
)( BÑIK@Q@Q@¢Š@QEQE
(¢€
(¢€ŠJ(h¢Š`QE 
(¤¦æŠJZ)i( BÑEQE´RQ@IKE%´PQKE%Q@”PњJ(ÿÙ
--__X_PAW_BOUNDARY__--

Join api@beta.groups.io to automatically receive all group messages.