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

Encountered an Exception handling #107

Open
ppprakhar opened this issue Nov 30, 2019 · 1 comment
Open

Encountered an Exception handling #107

ppprakhar opened this issue Nov 30, 2019 · 1 comment

Comments

@ppprakhar
Copy link

ppprakhar commented Nov 30, 2019

An uncaught Exception was encountered
Type: Tumblr\API\RequestException

Message: Bad Request (8001 - Post cannot be empty.)

Filename: /tumblr/lib/Tumblr/API/Client.php

Line Number: 427

throw new RequestException($response);

In my case solved this issue replace this line with code -
try { throw new RequestException($response); } catch (\Exception $e) { return ['code' => $e->getCode(), 'msg' => $e->getMessage()]; }

@ghost
Copy link

ghost commented Dec 21, 2019

you are wasting your time here, tumblr doesnt care about updating there api and there customers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant