Jump to content
Changes to the Jaspersoft community edition download ×

Uncaught exception 'Jaspersoft\Exception\RESTRequestException' with message 'An unexpected HTTP status code was returned by the server


Recommended Posts

My code is below:

require_once __DIR__ . "/vendor/autoload.php";
 
 
use JaspersoftClientClient;
 
$c = new Client(
"http://localhost:8080/jasperserver",
"jasperadmin",
"jasperadmin",
"PBL"
);
 
 
 $allAccountsJobs = $c->jobService()->searchJobs("/reports/samples/AllAccounts");
print_r($allAccountsJobs);

 

 
But getting below error:

Fatal error: Uncaught exception 'JaspersoftExceptionRESTRequestException' with message 'An unexpected HTTP status code was returned by the server' in C:wampwwwjasperclientsrcJaspersoftToolRESTRequest.php on line 364

Link to comment
Share on other sites

  • 5 months later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 8 months later...
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...