SQLMatches / Plugins

Plugins for SQLMatches
https://sqlmatches.com
GNU General Public License v3.0
5 stars 3 forks source link

HTTP_OnMapLoad - Invalid status code - Failed! Error: Invalid version #1

Closed crashzk closed 3 years ago

crashzk commented 3 years ago

I'm getting the following error:

L 01/27/2021 - 17:09:31: Error log file session closed.
L 01/27/2021 - 17:09:37: SourceMod error session started
L 01/27/2021 - 17:09:37: Info (map "de_mirage") (file "/home/clientes/OGP_User_Files/whmcs/2409/csgo/addons/sourcemod/logs/errors_20210127.log")
L 01/27/2021 - 17:09:37: [sqlmatches.smx] HTTP_OnMapLoad - Invalid status code - Failed! Error: Invalid version
L 01/27/2021 - 17:10:09: Error log file session closed.
L 01/27/2021 - 17:10:15: SourceMod error session started
L 01/27/2021 - 17:10:15: Info (map "de_mirage") (file "/home/clientes/OGP_User_Files/whmcs/2409/csgo/addons/sourcemod/logs/errors_20210127.log")
L 01/27/2021 - 17:10:15: [sqlmatches.smx] HTTP_OnMapLoad - Invalid status code - Failed! Error: Invalid version

I configured the SQL Matches API, I even generated a new one and nothing.

Segue a config do sqlmatches.cfg que estou usando:

// This file was auto-generated by SourceMod (v1.10.0.6501)
// ConVars for plugin "sqlmatches.smx"

// Show version announce
// -
// Default: "1"
sm_sqlmatches_announce "1"

// Used to auto config.
// -
// Default: "1"
sm_sqlmatches_autoconfig "1"

// Community name (from sqlmatches), needed for Discord webhooks.
// -
// Default: ""
sm_sqlmatches_community_name "Veseaprende"

// Delete demo file locally after upload.
// -
// Default: "1"
sm_sqlmatches_delete_after_upload "1"

// URL to avatar.
// -
// Default: "https://i.imgur.com/BgHcSgr.png"
sm_sqlmatches_discord_avatar "https://i.imgur.com/BgHcSgr.png"

// Decimal color code for embed messages, https://www.binaryhexconverter.com/hex-to-decimal-converter.
// -
// Default: "10233776"
sm_sqlmatches_discord_embed_decimal "10233776"

// Discord webhook to push at match end, leave blank to disable.
// -
// Default: ""
sm_sqlmatches_discord_match_end ""

// Discord webhook to push at match start, leave blank to disable.
// -
// Default: ""
sm_sqlmatches_discord_match_start ""

// Set discord name, please leave as SQLMatches.com if using hosted version.
// -
// Default: "SQLMatches.com"
sm_sqlmatches_discord_name "SQLMatches.com"

// Discord webhook to push at round end, leave blank to disable.
// -
// Default: ""
sm_sqlmatches_discord_round_end ""

// Frontend URL for SQLMatches.
// -
// Default: "https://sqlmatches.com"
sm_sqlmatches_frontend_url "https://sqlmatches.com"

// API key for sqlmatches API
// -
// Default: ""
sm_sqlmatches_key "XXXXxxxxxXxXXXXxxXXxXXxxxxxxx"

// 0 = Upload demo at match end / 1 = Upload demo at start of next match.
// -
// Default: "0"
sm_sqlmatches_start_round_upload "0"

// URL of sqlmatches base API route.
// -
// Default: "https://sqlmatches.com/api"
sm_sqlmatches_url "https://sqlmatches.com/api"

NOTE: API access is disabled on the website. image

WardPearce commented 3 years ago

Yeah that isn't really a error, just whenever the map changes it does a check for a version message.