'Why is Pastebin API Post causing an Error?

I got a JSON data from CoinMarketCap using Http GET method, and customized its output using Map, GSON libraries as well as POJO classes and toString() methods.

The modified output is like:

Symbol = BTC
Circulating Supply = 1.8975132E7
Last Updated = 2022-03-05T17:54:00.000Z
Total Supply = 1.8975132E7
Cmc Rank = 1
Self Reported Circulating Supply = No Data
Platform = No Data
Tags = mineable, pow, sha-256, store-of-value, state-channel, coinbase-ventures-portfolio, three-arrows-capital-portfolio, polychain-capital-portfolio, binance-labs-portfolio, blockchain-capital-portfolio, boostvc-portfolio, cms-holdings-portfolio, dcg-portfolio, dragonfly-capital-portfolio, electric-capital-portfolio, fabric-ventures-portfolio, framework-ventures-portfolio, galaxy-digital-portfolio, huobi-capital-portfolio, alameda-research-portfolio, a16z-portfolio, 1confirmation-portfolio, winklevoss-capital-portfolio, usv-portfolio, placeholder-ventures-portfolio, pantera-capital-portfolio, multicoin-capital-portfolio, paradigm-portfolio 
Date Added = 2013-04-28T00:00:00.000Z
Quote = 
    USD = 
        Fully Diluted MarketCap = 8.2880135E11
        Last Updated = 2022-03-05T17:54:00.000Z
        MarketCap Dominance = 42.1822
        Percent Change30d = 7.26027776
        Percent Change1h = 0.09390301
        Percent Change24h = -3.27036562
        MarketCap = 7.48886390917243E11
        Volume Change24h = -20.3761
        Price = 39466.73100266043
        Percent Change60d = -15.71484182
        Volume24h = 2.0939124145218914E10
        Percent Change90d = -19.93385413
        Percent Change7d = 0.50231463
NumMarket Pairs = 9214.0
Name = Bitcoin
Max Supply = 2.1E7
Id = 1
Self Reported MarketCap = No Data
Slug = bitcoin

However, when I try to paste it in Pastebin using Http Post, I get the error below:

Bad API request, Pastebin’s SMART filters have detected potentially offensive or questionable content in your paste. This paste can only be published with the visibility set to "Private".

So in order to post it as Private, I need to add api_paste_private as a key for Http Post. However, in order to add the key, "api_paste_private", I also have to add the Userkey. Unfortunately, I shouldn't include Userkey for the Http Post.

Does anyone know why the String content above is not acceptable as Public? and How to fix it?

Thanks in advance.

I found the part of the data which causes the error:

Symbol = RACA
Circulating Supply = 1.97228839E11
Last Updated = 2022-03-05T17:54:00.000Z
Total Supply = 4.3295549E11
Cmc Rank = 227
Self Reported Circulating Supply = No Data
Platform = symbol=ETH, name=Ethereum, token_address=0x12BB890508c125661E03b09EC06E404bc9289040, id=1027.0, slug=ethereum
Tags = collectibles-nfts, gaming, metaverse, play-to-earn, mvb, bnb-chain 
Date Added = 2021-08-20T00:00:00.000Z
Quote = 
    USD = 
        Fully Diluted MarketCap = 6.5622778E8
        Last Updated = 2022-03-05T17:54:00.000Z
        MarketCap Dominance = 0.0
        Percent Change30d = -23.15969517
        Percent Change1h = 0.37069224
        Percent Change24h = -2.19513712
        MarketCap = 2.9893844587997663E8
        Volume Change24h = 0.0053
        Price = 0.0015156934236356626
        Percent Change60d = -51.15654595
        Volume24h = 2.261299969216584E7
        Percent Change90d = -65.1561247
        Percent Change7d = -10.09342549
NumMarket Pairs = 91.0
Name = Radio Caca
Max Supply = 4.32955500084E11
Id = 11346
Self Reported MarketCap = No Data
Slug = radio-caca

I don't get why it is offensive... but anyway, how can I skip the data when parsing using POJO classes?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source