Skip to content

Create Database Backup Errors #83

@cygnusross

Description

@cygnusross

The following call:

$ploi->servers($server->id)->databases($database->id)->backups()->create(
        $interval = 0,
        $type,
        $table_exclusions = null,
        $locations = '...',
        $path = null
    );

is throwing the error below:

{
  "message":"The selected type is invalid. (and 1 more error)",
  "errors":
  {
    "type":
    ["The selected type is invalid."],
    "keep_backup_amount":
    ["The keep backup amount field is required."]
  }
}

I've followed the API documentation and made a HTTP request with success, but the SDK doesn't look like it matches the API documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions